package com.xczl.demo.domain;

import java.math.BigDecimal;

public class Goods {

	/**
	 * 上架
	 */
	public static final int STATE_NO = 1;

	/**
	 * 下架
	 */
	public static final int STATE_Off = 2;

	/**
	 * 商品ID
	 */
	private Integer goodsId;

	/**
	 * 商品分类
	 */
	private Integer cateId;

	/**
	 * 名称
	 */
	private String name;

	/**
	 * 价格
	 */
	private BigDecimal price;

	/**
	 * 状态1上架 2下架
	 */
	private Integer state;

	private String picUrl;

	public Integer getGoodsId() {
		return goodsId;
	}

	public void setGoodsId(Integer goodsId) {
		this.goodsId = goodsId;
	}

	public Integer getCateId() {
		return cateId;
	}

	public void setCateId(Integer cateId) {
		this.cateId = cateId;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public BigDecimal getPrice() {
		return price;
	}

	public void setPrice(BigDecimal price) {
		this.price = price;
	}

	public Integer getState() {
		return state;
	}

	public void setState(Integer state) {
		this.state = state;
	}

	public String getPicUrl() {
		return picUrl;
	}

	public void setPicUrl(String picUrl) {
		this.picUrl = picUrl;
	}

}
